package com.btex.app.entity;

/**
 * @author zy zhangyi <zhangyi, 1104745049@QQ.com
 * @version v1.0
 * @project study1
 * @Description
 * @encoding UTF-8
 * @date 2018/10/29
 * @time 下午3:46
 * @修改记录 <pre>
 * 版本       修改人         修改时间         修改内容描述
 * --------------------------------------------------
 * <p>
 * --------------------------------------------------
 * </pre>
 */

public class YuCheLeverInfo {

    /**
     * code : 1
     * data : {"liq_price":"380000.00000000","margin":"0.03167970","delta_margin":"1.00000000","new_liq_price":6601.6692186529,"new_margin":0.0065237072756187,"delta_balance":-1.0251559927244}
     * info :
     */

    private int code;
    private DataBean data;
    private String info;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public static class DataBean {
        /**
         * liq_price : 380000.00000000
         * margin : 0.03167970
         * delta_margin : 1.00000000
         * new_liq_price : 6601.6692186529
         * new_margin : 0.0065237072756187
         * delta_balance : -1.0251559927244
         */

        private String liq_price;
        private String margin;
        private String delta_margin;
        private double new_liq_price;
        private double new_margin;
        private double delta_balance;

        public String getLiq_price() {
            return liq_price;
        }

        public void setLiq_price(String liq_price) {
            this.liq_price = liq_price;
        }

        public String getMargin() {
            return margin;
        }

        public void setMargin(String margin) {
            this.margin = margin;
        }

        public String getDelta_margin() {
            return delta_margin;
        }

        public void setDelta_margin(String delta_margin) {
            this.delta_margin = delta_margin;
        }

        public double getNew_liq_price() {
            return new_liq_price;
        }

        public void setNew_liq_price(double new_liq_price) {
            this.new_liq_price = new_liq_price;
        }

        public double getNew_margin() {
            return new_margin;
        }

        public void setNew_margin(double new_margin) {
            this.new_margin = new_margin;
        }

        public double getDelta_balance() {
            return delta_balance;
        }

        public void setDelta_balance(double delta_balance) {
            this.delta_balance = delta_balance;
        }
    }
}
